<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <style>
        table{
        width: 1000px;
        margin: 20px auto;

        }
        table td{
            border: 2px solid #00a2d4;
        }
        textarea{
            width: 300px;
            height: 100px;
        }
    </style>
</head>
<body>
<table>
    <tr>


        <td>作者</td>
        <td>时间</td>
        <td>内容</td>
        <td colspan="2">编辑</td>
    </tr>
    <{foreach $guestbook_info as $k=>$v}>
    <tr>


        <td><{$v.name}></td>
        <td><textarea><{$v.content}></textarea></td>
        <td><{$v.time}></td>
        <td><a href="<{$smarty.const.__CONTROLLER__}>/update/id/<{$v.id}>">编辑</a></td>
        <td><a href="<{$smarty.const.__CONTROLLER__}>/shanchu/id/<{$v.id}>">删除</a></td>
    </tr>
    <{/foreach}>
</table>

</body>
</html>